{extend name="layout/layout" /}

{block name="title"}组长管理{/block}

登录页

{block name="content"}

<h4>微信号管理</h4>
<a class="logio" href="{:url('user/loout')}">注销</a>

<form action="{:url('account/update')}" method="POST" enctype="multipart/form-data">
    {if condition="$Think.session.user.rights eq 1"}
        所属分组：
        <select name="group_id">
            {volist name="groups" id="group"}
            <option value="{$group.id}" {if condition="$account.group_id eq $group.id"}selected{/if}>{$group.name}</option>
            {/volist}
        </select>
        <br>
    {else /}
        <input type="hidden" name="group_id" value="{$Think.session.user.group_id}">
    {/if}
    <input type="hidden" name="id" value="{$account.id}">
    名称：<input type="text" name="name" value="{$account.name}"><br>
    微信号：<input type="text" name="wechat_id" value="{$account.wechat_id}"><br>
    原始粉丝：<input type="text" name="fans" value="{$account.fans}" value="{$account.fans}"><br>
    备注：<input type="text" name="remarks" value="{$account.remarks}"><br>
    状态：<select name="status">
            <option value="1" {if condition="$account.status eq 1"}selected{/if}>吸粉</option>
            <option value="2" {if condition="$account.status eq 2"}selected{/if}>暂停</option>
            <option value="3" {if condition="$account.status eq 3"}selected{/if}>封号</option>
        </select>
    <br>
    上传二维码：<input type="file" name="qrcode"><br>
    <input type="submit" value="确定">
</form>
<hr>

{/block}
